package com.liqi.frame.comm.controller;

import com.liqi.frame.comm.aop.FullPage;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author liqi on 2017/8/10.
 */
@Controller
@RequestMapping("/simulate")
public class SimulateController {
    @FullPage(menu = "")
    @RequestMapping({"index"})
    public ModelAndView index (HttpServletRequest req, HttpServletResponse resp, ModelMap data) {
        return new ModelAndView("comm/login/login", data);
    }
}
